//
//  ShuaWordRequest.h
//  Learn
//
//  Created by apple on 2024/4/18.
//  Copyright © 2024 迟建国. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ShuaWordModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ShuaWordRequest : NSObject


/// 刷单词列表
/// - Parameters:
///   - page: 1
///   - resultBlock: res
+(void)request_getWordListWithPage:(NSInteger)page  reslut:(void(^)(NSMutableArray *array,BOOL isMore,BOOL isRequest))resultBlock;


/// 刷单词 详情
/// - Parameters:
///   - wordId: 1
///   - resultBlock: res
+(void)request_getWordInfoWithId:(NSString*)wordId reslut:(void(^)(ShuaWordModel *model,BOOL isRequest))resultBlock;


/// 添加刷单词记录
/// - Parameters:
///   - wordId: 1
///     - score:100
///   - resultBlock: res
+(void)request_postAddWord:(NSString *)wordId score:(NSString *)score reslut:(void(^)(BOOL isRequest))resultBlock;
@end

NS_ASSUME_NONNULL_END
